<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户首页</title>
    <link rel="stylesheet" href="/static/admin/css/bootstrap.css">
</head>
<body>
<div class="col-sm-3"></div>
<div class="col-xs-6">
    <div class="container" style="margin-top:200px;max-width: 600px;">
        <div class="panel panel-success">
            <div class="panel-heading">用户基本信息</div>
            <div class="panel-info">
                <table class="table table-hover">
                    <thead><th colspan="2">用户基本信息</th></thead>
                    <tbody>
                    <tr>
                        <th>用户名</th>
                        <th>{if $user['username']}{$user['username']}{else /}无{/if}</th>
                    </tr>
                    <tr>
                        <th>昵称</th>
                        <th>{if $user['nickname']}{$user['nickname']}{else /}无{/if}</th>
                    </tr>
                    <tr>
                    <th>性别</th>
                    <th>{if $user['sex']}{$user['sex']}{else /}无{/if}</th>
                    </tr>
                    <tr>
                    <th>年龄</th>
                    <th>{if $user['age']}{$user['age']}{else /}无{/if}</th>
                    </tr>
                    <tr>
                        <th>课程表</th>
                        <th><a href="http://www.test.cn/index.php/user/syllabus">点击查看</a></th>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="col-sm-3">
    <div class="panel panel-warning" style="margin-top: 200px;">
        <div class="panel-heading">好友列表</div>
        <div class="panel-info">
            <table class="table table-hover">
                <thead>
                <th colspan="2"></th>
                </thead>
                <tbody>
                {volist name='friends' id='vo'}
                <tr>
                    <th>{$vo.friend_nickname}</th>
                    <th>查看信息</th>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>